export const mapImageConfig: Record<string, string> = {
    /**
     * 摄像头
     */
    'camera-ON': 'map/camera/videoOnline.png',
    'camera-OFF': 'map/camera/videoOffline.png',
}

export const getMapImagePath = (name: string) => {
    if (mapImageConfig[name]) {
        return mapImageConfig[name]
    }
    console.error(`mapImageConfig对象中未定义${name}`)
    return false
}
